package gat.dto.req.tg;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

/**
 * 
 * @author: tmac
 * @email: tmac
 */
@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class AccountDbReqParams implements Serializable{


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账号id")
    @JsonProperty(index = 30)
    private String accountId;

    /**
     * 开始时间 VARCHAR
     */
    @ApiModelProperty(value = "开始时间")
    @JsonProperty(index = 30)
    private String startTime;

    /**
     * 结束时间 VARCHAR
     */
    @ApiModelProperty(value = "结束时间")
    @JsonProperty(index = 30)
    private String endTime;

    /**
     * 当前页 int
     */
    @ApiModelProperty(value = "当前页")
    @JsonProperty(index = 90)
    private Integer currentPage = 1;

    /**
     * 页面大小 int
     */
    @ApiModelProperty(value = "页面大小")
    @JsonProperty(index = 90)
    private Integer pageSize = 10;


    /**
     * 账号厂商 VARCHAR
     */
    @ApiModelProperty(value = "账号厂商")
    @JsonProperty(index = 20)
    private String accountSupplier;
    /**
     * 账号邮箱 VARCHAR
     */
    @ApiModelProperty(value = "账号邮箱")
    @JsonProperty(index = 30)
    private String accountMail;

    /**
     * 状态 未分配 已分配 INT
     */
    @ApiModelProperty(value = "状态 未分配 已分配")
    @JsonProperty(index = 60)
    private Integer status;

    /**
     * tg用户id VARCHAR
     */
    @ApiModelProperty(value = "tg用户id")
    @JsonProperty(index = 70)
    private String tgUserId;
    /**
     * 订单号 VARCHAR
     */
    @ApiModelProperty(value = "订单号")
    @JsonProperty(index = 80)
    private String orderNo;

    /**
     * 账号类型 VARCHAR
     */
    @ApiModelProperty(value = "账号类型")
    @JsonProperty(index = 130)
    private String accountType;

    /**
     * 机器人 VARCHAR
     */
    @ApiModelProperty(value = "botId")
    @JsonProperty(index = 130)
    private String botId;

    // 来源 来源 excel导入 api查询
    @ApiModelProperty(value = "source")
    @JsonProperty(index = 130)
    private String source;
}






